using BehaviorDesigner.Runtime.Tasks;
using UnityEngine;

namespace HareGame
{
    [TaskCategory("引导")]
    public class CancelCameraFollow : Action
    {
        public override void OnStart()
        {
            base.OnStart();
            GameEntry.Camera.FollowObj(null, Vector3.zero);
        }

        public override TaskStatus OnUpdate()
        {
            return TaskStatus.Success;
        }
    }
}